//
//  FMSButtonWithLoading.h
//  FMS
//
//  Created by Steven on 11/02/13.
//  Copyright (c) 2013 QGSVN. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface FMSButtonWithLoading : UIButton {
    UIActivityIndicatorView * _spinWheel;
    NSString * _title;
    BOOL _disableWhileSpinning;
    BOOL _displaySpinnerNextToTitle;
}

@property (assign) BOOL disableWhileSpinning;
@property (assign) BOOL displaySpinnerNextToTitle;

- (void) startActivityIndicator;
- (void) stopActivityIndicator;

@end
